#!/usr/bin/env python
# -*- conding: utf-8 -*-



import wsgiref.handlers


from google.appengine.ext import webapp


class MainHandler(webapp.RequestHandler):

  def get(self):
    self.response.out.write("""
<html>
<body>
<ul>
  <li><a href="/xml">xmlをパースする</a></li>
  <li><a href="/print_r">GAEでPHPのprint_rのような出力</a></li>
</ul>
</body>
</html>
    """)


def main():
  application = webapp.WSGIApplication([('/', MainHandler)],
                                       debug=True)
  wsgiref.handlers.CGIHandler().run(application)


if __name__ == '__main__':
  main()
